ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. command line
    Log in to post
    • All categories
    • scottalanmillerS

      Find Windows OEM Key License from Linux

      IT Discussion
      • linux windows cli command line • • scottalanmiller
      4
      5
      Votes
      4
      Posts
      709
      Views

      whitecatW

      LOL...absolutely!

      SAM...making IT better for humans...have an extra avatar on us....

    • scottalanmillerS

      ProxMox: Set VM to AutoStart from Command Line CLI Start

      IT Discussion
      • qm proxmox kvm command line cli linux debian • • scottalanmiller
      5
      1
      Votes
      5
      Posts
      1.2k
      Views

      scottalanmillerS

      @Pete-S said in ProxMox: Set VM to AutoStart from Command Line CLI Start:

      Nice but it's even easier with pure kvm as you don't have to go the roundabout way of using VMid.

      virsh autostart somevm

      Personally I find the number quite a bit easier.

    • gjacobseG

      winget vs choco

      IT Discussion
      • choco chocolatey winget package manager package management windows10 window 11 command line scripting scripts script • • gjacobse
      4
      0
      Votes
      4
      Posts
      704
      Views

      DanpD

      Check out WingetUI, which can manage packages for choco, scoop, and winget.

    • scottalanmillerS

      Send an Email via SMTP from Command Line with cURL

      IT Discussion
      • email smtp curl command line • • scottalanmiller
      16
      4
      Votes
      16
      Posts
      2.2k
      Views

      travisdh1T

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @Dashrender said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      First the command itself, showing gmail settings here by default but obviously fill in with your own details:

      Does it work? I thought gmail required OAuth nowadays and you couldn't use plain username & password for authentication anymore.

      gmail still allows the creation of app passwords.

      OK, then it works for now I guess.

      I always cringe when I see MSPs that set up their clients MFPs and other devices using random gmail accounts.

      IMHO it's unprofessional and much better to use a real transactional email service for these kinds of applications.

      It depends. If it is going out to customers, then it's weird. If it is for purely internal stuff then transactional email doesn't make too much sense. But if it is internal, normally you can just use whatever internal tool you already have.

      Typical scenario with gmail is that someone sets up a MFP to use a random gmail address for sending alerts and scanned documents.

      When the user scans the document it's often sent to his own email address [email protected]. So primarily internal.

      Well, problem is that gmail saves mail sent over SMTP in the sent folder. Which means that the "printer guy", who if often not even an employee, can read all the scanned document that was ever scanned and emailed by logging in to the gmail account he set up.

      And of course sent email coming from outside your domains might be flagged as spam. So people scan documents and it doesn't work. I mean the list of problems is long.

      Well when lots and lots of companies still demand to only use Gmail already, it's not so weird.

      You'd be amazing how often we get people requiring that they stay on Yahoo and AOL addresses for their businesses. I kid you not.

      5f34099e-464c-4cd3-a7e3-f7845ca46d05-picardfacepalm.jpg

    • scottalanmillerS

      Using Mutt to Check POP or IMAP Email

      IT Discussion
      • mutt email imap dovecot pop pop3 imap4 linux unix bsd freebsd command line • • scottalanmiller
      4
      3
      Votes
      4
      Posts
      1.6k
      Views

      J

      @scottalanmiller No example output? 🙂

    • scottalanmillerS

      Add Static IP Address on Unifi fro the Command Line on SSH

      IT Discussion
      • unifi ubiquiti ssh command line cli unifi command reference • • scottalanmiller
      2
      0
      Votes
      2
      Posts
      3.0k
      Views

      JaredBuschJ

      @scottalanmiller that is edgeos syntax.

    • scottalanmillerS

      Add Default Gateway Route to Unifi from the Command Line on SSH

      IT Discussion
      • ubiquiti unifi cli command line ssh usg unifi command reference • • scottalanmiller
      1
      1
      Votes
      1
      Posts
      5.5k
      Views

      No one has replied

    • DustinB3403D

      Recursively look in multiple folders and find files with the same name ignoring the extension

      IT Discussion
      • file sorting linux command line • • DustinB3403
      10
      0
      Votes
      10
      Posts
      622
      Views

      EddieJenningsE

      Tweaked a bit to provide an output file.

      https://gitlab.com/EddieJennings/bash-general/-/blob/master/find_files_sort_by_filename.sh

    • JaredBuschJ

      Setup Grandstream HandyTone from Command Line

      Self Promotion
      • freepbx grandstream command line setup • • JaredBusch
      1
      0
      Votes
      1
      Posts
      2.7k
      Views

      No one has replied

    • popesterP

      Favorite (preferably free) terminal.

      IT Discussion
      • apple macos terminal cli command line • • popester
      20
      2
      Votes
      20
      Posts
      1.4k
      Views

      RamblingBipedR

      @scottalanmiller Yep, I just wanted to share the configuration I use as my daily driver because it makes working in the terminal that much more efficient. The OP mentioned wanting something that was a bit slicker and more powerful, and I think in addition to your choice of terminal, your choice of shell and other tools contributes to having a better experience. I prefer FISH for my shell, and tmux is my terminal multiplexor of choice. ZSH is another great alternative shell as well.

    • JaredBuschJ

      VitalPBX how to manually unban yourself from the command line

      IT Discussion
      • vitalpbx fail2ban command line cli how to • • JaredBusch
      9
      2
      Votes
      9
      Posts
      2.9k
      Views

      CloudKnightC

      @JaredBusch fair enough, I haven't used the product itself as of yet and wasn't aware it had whitelisting inside the product, if this was specific to just fail2ban then that method would be suitable, but in this case I agree with you, my mistake.

    • steveS

      Microsoft Command Line Tools - CompTIA A+ 220-1002 Prof Messer

      IT Careers
      • prof messer comptia a+ video training youtube it career it training windows cli command line • • steve
      5
      3
      Votes
      5
      Posts
      877
      Views

      scottalanmillerS

      @brianwinkelmann said in Microsoft Command Line Tools - CompTIA A+ 220-1002 Prof Messer:

      Very Very Interesting, but the most important, this Command Line Tools are useful specially when you work remotely.

      Or to be ready for when you suddenly half to!

      Although they make you more efficient all of the time.

    • scottalanmillerS

      Create a New User on macOS from the Terminal Command Line

      IT Discussion
      • mac osx macos apple command line cli terminal sam macos administration system administration macosx • • scottalanmiller
      4
      1
      Votes
      4
      Posts
      9.2k
      Views

      scottalanmillerS

      @justal said in Create a New User on macOS from the Terminal Command Line:

      @scottalanmiller Hi Scott, thanks for the post, unfortunately this works not on Mac OS X Mojave. I'm able to create a user but not able to login with this user account. It stucks after the login prozess. Is there any workaround?
      Thanks!

      I switched offices for a couple days to one where I'm on Ubuntu rather than my Mac. I'll look into it once I'm back to my Mac.

    • scottalanmillerS

      List All Users on macOS from Terminal Command Line

      IT Discussion
      • macos macosx mac command line cli sam macos administration terminal system administration • • scottalanmiller
      1
      2
      Votes
      1
      Posts
      882
      Views

      No one has replied

    • scottalanmillerS

      Windows Server 2019 Need to Download and Run without AV Deleting Files

      IT Discussion
      • windows windows server windows server 2019 windows defender av antivirus cli command line • • scottalanmiller
      11
      0
      Votes
      11
      Posts
      1.4k
      Views

      scottalanmillerS

      @black3dynamite said in Windows Server 2019 Need to Download and Run without AV Deleting Files:

      https://www.thomasmaurer.ch/2016/07/how-to-disable-and-configure-windows-defender-on-windows-server-2016-using-powershell/

      For now, just temporary disable Real-Time Protection via PowerShell
      Set-MpPreference -DisableRealtimeMonitoring $true

      Download the executable and scan it manually before you install
      Start-MpScan -ScanPath C:\datastore\file.exe -ScanType QuickScan

      Enable Real-Time Protection after the install
      Set-MpPreference -DisableRealtimeMonitoring $false

      Excellent, now THAT did it.

    • DustinB3403D

      Enabling root SSH access for OSX

      IT Discussion
      • osx macos system administration cli command line shell apple mac macos system administration ssh • • DustinB3403
      1
      2
      Votes
      1
      Posts
      1.7k
      Views

      No one has replied

    • DustinB3403D

      Using Rsync to remotely backup Apple OSX User profiles

      IT Discussion
      • osx terminal rsync command line cli macos macosx mac • • DustinB3403
      6
      2
      Votes
      6
      Posts
      1.1k
      Views

      DustinB3403D

      Worth noting that using rsync worked very well, but there were issues with the Outlook profile on the existing user workstation and the end result.

      Not a huge issue for us as everything is stored in O365, but worth being mindful of if your email was hosted locally.

      Also because of username convention changes, I had to set the ownership of the user profile to match the new shortened name.

    • scottalanmillerS

      Get Windows Version from Command Line

      IT Discussion
      • cli command line windows sam windows administration system administration windows 10 registry • • scottalanmiller
      17
      1
      Votes
      17
      Posts
      1.6k
      Views

      scottalanmillerS

      @pmoncho said in Get Windows Version from Command Line:

      No doubt. Currently working on getting Server 2019 DC, DHCP, and RDS working in a lab. A few challenges so far. Was going to try using PS to do many tasks I normally do in GUI (force myself to learn as I go) but decided to put it on the back burner due to frustration. I will get there with PS but it has to wait.

      Unfortunately, no matter how much we want to complain about PS and how Windows has no production-level roadmap at this point and is getting worse by the day, if you are going to run Windows today, PS is how it is done. Issues with PS have only one valid purpose to discuss - to use to explain to management why Windows shouldn't be getting deployed in production workloads, or why risks with it need to be accepted. It's like the licensing issues with Windows, these things all add up to cost and risk and risk is really just cost. It's part of the "decision numbers." Beyond that, it is what it is. If the business actually knows how costly it is and still chooses it, then PS is how you manage it.

      If you deploy and start without using PS, it'll be that much harder to switch later. I know the learning curve is absurd and the whole thing is so much harder than it has any purpose being, but I would bite the bullet if at all possible and learn it now. It'll just be harder later.

    • scottalanmillerS

      Managing Windows Local Users with PowerShell

      IT Discussion
      • windows sam windows administration system administration windows administration powershell shell command line cli • • scottalanmiller
      14
      2
      Votes
      14
      Posts
      1.2k
      Views

      scottalanmillerS

      Topic has been forked, please keep discussions of OS comparisons to a different thread.

    • DustinB3403D

      Windows CLI - Find long Filepaths and compress to zip

      IT Discussion
      • windows command line compression file path file system long file name powershell cmd • • DustinB3403
      3
      2
      Votes
      3
      Posts
      592
      Views

      gjacobseG

      Long file names can be a serious pain... for copy and backup reasons.

      I recall a NTG client that used a long name for the directories,.. and it made updating nearly impossible Should follow the KISS method... Directory names don't need to be 120 characters long,.. and four deep.

    • 1
    • 2
    • 3
    • 1 / 3